html {
    font-size: 12px;
    color: #074b60;
}

@media (min-width: 992px) {
    html {
        font-size: 14px;
    }
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    color: #074b60;
}

html,
body {
    height: 100%;
}

a {
    cursor: pointer;
}

a:hover {
    color: #5fb878;
}

*::selection {
    background-color: #5fb878;
    color: #fff;
}

input,
textarea {
    border-radius: 2px !important;
    border-color: #e6e6e6 !important;
}

input:hover,
textarea:hover {
    border-color: #d2d2d2 !important;
}

textarea:focus,
input:focus,
input:focus i {
    border-color: #5fb878 !important;
}


/* ==============================修改elementui样式================================== */
/* 对话框 */
.el-dialog__body {
    padding-bottom: 1rem !important;
}

.el-dialog__title {
    color: #5fb878;
    opacity: 0.75;
}

.el-dialog__headerbtn:focus .el-dialog__close,
.el-dialog__headerbtn:hover .el-dialog__close {
    color: #5fb878;
}

/* 按钮active、hover */
.x-btn,
.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: #5fb878;
}

.el-pagination.is-background .el-pager li:not(.active):hover {
    color: #5fb878
}

/* 时间线 */
.el-timeline-item__wrapper {
    padding-left: 20px !important;
}

/* 按钮 */
.el-button:focus,
.el-button:hover {
    /* color: #fff;
    border-color: #5fb878;
    background-color: #5fb878; */
}

/* 输入框 */
.el-input {
    margin-bottom: 1rem;
}

.el-input__inner {
    height: 2.5rem;
}

.el-card__header,
.el-card__body {
    padding: 10px;
}

.el-radio-button:first-child .el-radio-button__inner {
    border-radius: 2px 0 0 2px;
}

.el-radio-button:last-child .el-radio-button__inner {
    border-radius: 0 2px 2px 0;
}

.el-radio-button__inner:hover {
    color: #5fb878;
}


/* .el-radio__input.is-checked+.el-radio__label {
    color: #5fb878;
}
.el-radio__input.is-checked .el-radio__inner {
    border-color: #5fb878;
    background-color: #5fb878;
}
.el-radio__inner:hover {
    border-color: #5fb878;
}  */


.x-container {
    padding: 0 2%;
}

.x-btn {
    display: inline-block;
    /* height: 2rem; */
    /* line-height: 2rem; */
    text-align: center;
    border: 1px solid #5fb878;
    border-radius: 2px !important;
    color: #fff !important;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    transition: all;
    transition-duration: 0.1s;
    cursor: pointer;
    opacity: 0.9;
}

.x-btn+.x-btn {
    margin-left: 0.5rem;
}

.x-btn:hover {
    opacity: 1;
}

.x-btn:active {
    opacity: 0.9;
}

.x-btn.x-btn-mini {
    padding: 2px 10px !important;
    font-size: 12px;
}

.x-btn-disabled {
    color: #fff;
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #5fb878;
    border-color: #5fb878;
}

.x-btn-disabled:hover,
.x-btn-disabled:focus {
    opacity: .6;
}

.x-btn-primary {
    background-color: #fff !important;
    color: #5fb878 !important;
}

.x-bg-danger {
    background-color: #F56C6C !important;
    color: #fff !important;
}

.fluid-button {
    padding: .6rem 1rem;
    width: 100%;
}

.page-box {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.card-wrap {
    padding: 15px;
}

.card {
    background-color: #ffffff;
    border-radius: 2px;
    position: relative;
}

.card-body {
    padding: 15px;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-item-start {
    align-self: flex-start;
}

.profile-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* margin-right */
.mr-2 {
    margin-right: 10px;
}

/* 背景颜色 */
.bg-ink {
    background-color: #074b60;
}

.scrolled::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
}

.scrolled::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 2px;
}

.scrolled::-webkit-scrollbar-thumb {
    background-color: rgba(95, 184, 120, 0.25);
    border-radius: 2px;
}

#nprogress .bar {
    background: #5fb878 !important;
}

.layui-icon {
    vertical-align: middle;
}

.tip {
    display: inline-block;
    font-size: 12px;
    color: rgb(95 184 120 / 0.5);
    cursor: pointer;
}

.post-list {
    width: 100%;
    /* min-height: 500px; */
}

.post-list>.post-item {
    position: relative;
    padding: 10px;
    list-style: none;
    border-radius: 2px;
    transition: background-color .3s;
}

.post-list>.post-item:hover {
    background-color: aliceblue;
}

.post-list>.post-item+.post-item {
    border-top: 1px solid #f0f0f0;
}

.post-list>.post-item .title {
    display: inline-block;
    font-size: 16px;
    color: #212121;
}

.post-list>.post-item .title:hover {
    color: #5fb878;
}

.post-list>.post-item .abstract {
    display: -webkit-box;
    font-size: 13px;
    font-family: "Microsoft YaHei", monospace;
    color: #888888;
    text-indent: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10px 0;
}

.post-list>.post-item .details {
    overflow: hidden;
}

.post-list>.post-item .details .left {
    float: left;
}

.post-list>.post-item .details .right {
    float: right;
}

.post-list>.post-item .details span {
    color: #999;
}

.post-list>.post-item .details span+span {
    margin-left: 8px;
}

.refresh {
    color: #5fb878;
    padding: 2px 4px;
    border-radius: 2px;
    cursor: pointer;
}

.refresh:hover {
    background-color: #f0f0f0;
}